package org.lendoo.web.mapper;

import org.apache.ibatis.annotations.Param;
import org.lendoo.web.entity.Cart;
import org.lendoo.web.pojo.dto.CartWithGoodsAndImageDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Cart的mapper类
 */
@Repository
public interface CartMapper extends EasyBaseMapper<Cart> {

    List<CartWithGoodsAndImageDto> page(@Param("userId") Integer userId, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

}